package com.st.mall.product.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.st.common.utils.PageUtils;
import com.st.mall.product.entity.SpuInfoEntity;
import com.st.mall.product.vo.SpuSaveVo;

import java.util.Map;

/**
 * spu信息
 *
 * @author fg
 * @email f@163.com
 * @date 2023-02-26 20:46:23
 */
public interface SpuInfoService extends IService<SpuInfoEntity> {

    PageUtils queryPage(Map<String, Object> params);
    void saveBaseSpuInfo(SpuInfoEntity infoEntity) ;


        /**
         *
         * @param spuInfo spu完整信息
         */
    void saveSpu(SpuSaveVo spuInfo);

    /**
     * 商品上架
     * @param  spuId spuId
     */
    void spuUp(Long spuId);
}

